package logic.bean;

import java.io.Serializable;
import java.util.List;

import com.shwread.android.qysw.activity.MyCommentActivity.CommentItemsAdapter;
import com.shwread.android.qysw.activity.MyCommentActivity.MoreViewHolder;

/**
 * 用户的评论
 * @author 刘宾  
 * @date 2015年2月3日 上午11:13:59
 */
public class UserCommentBean
        implements
        Serializable
{
    private static final long serialVersionUID = -5810173727867230290L;
    
    /** 书籍作者名 */
	public String               author;
	/** 封面图片url */
	public String             coverImage;
	/** objType为2或者3时根据该参数值跳到详情页面或者图片详情 */
	public String             htmlUrl;
	/** objType为4时有意义，根据该参数值判断是否调到图集图片的瀑布流还是直接显示图集下的图片 */
	public int                imageCollectionNum;
	/** 评论内容的类型对应的值，若objType为1，该参数值则表示书籍id */
	public long               objId;
	/** 评论内容的类型，1=书籍 2=专区内容(资讯、视音频等类型，如果是专区内容内容的书籍、图集、图片等还是使用1或者3或者4) 3=图集图片 4=图集 */
	public int                objType;
	/** 短简介或者推荐语 */
	public String             shortDesc;
	/** 资讯标题或者书名或者图集名称或者图片名称 */
	public String             title;
	/** 最后回复时间戳 */
	public long               lastCommentTime;
	/** 评论列表 */
	public List<CommentBean>  commentList;	
	
	private CommentItemsAdapter itemsAdapter;
	
	private  transient MoreViewHolder   moreViewHolder;
	private  transient boolean   hasMoreComments;
	
	public int getObjType() {
		return objType;
	}
	public void setObjType(int objType) {
		this.objType = objType;
	}
	public long getObjId() {
		return objId;
	}
	public void setObjId(long objId) {
		this.objId = objId;
	}
	public List<CommentBean> getCommentList() {
		return commentList;
	}
	public void setCommentList(List<CommentBean> commentList) {
		this.commentList = commentList;
	}
	public String getCoverImage() {
		return coverImage;
	}
	public void setCoverImage(String coverImage) {
		this.coverImage = coverImage;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getShortDesc() {
		return shortDesc;
	}
	public void setShortDesc(String shortDesc) {
		this.shortDesc = shortDesc;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getHtmlUrl() {
		return htmlUrl;
	}
	public void setHtmlUrl(String htmlUrl) {
		this.htmlUrl = htmlUrl;
	}
	public int getImageCollectionNum() {
		return imageCollectionNum;
	}
	public void setImageCollectionNum(int imageCollectionNum) {
		this.imageCollectionNum = imageCollectionNum;
	}
	public long getLastCommentTime() {
		return lastCommentTime;
	}
	public void setLastCommentTime(long lastCommentTime) {
		this.lastCommentTime = lastCommentTime;
	}
	
	public CommentItemsAdapter getItemsAdapter( ) {
		return itemsAdapter;
	}
	public void setItemsAdapter(CommentItemsAdapter itemsAdapter ) {
		this.itemsAdapter = itemsAdapter;
	}
	
	public MoreViewHolder getMoreView( ) {
		return moreViewHolder;
	}
	public void setMoreView(MoreViewHolder moreView ) {
		this.moreViewHolder = moreView;
	}
	
	public boolean getHasMoreComments( ) {
		return hasMoreComments;
	}
	public void setHasMoreComments(boolean hasMoreComments ) {
		this.hasMoreComments = hasMoreComments;
	}
	 
}
